#define _CRT_SECURE_NO_WARNINGS 1
#include "sort.h"


int main()
{
	int arr[] = { 6,5,6,4,4,2,2,8,8,7,6,9,8,9,2,1,5,5 };

	int  n = sizeof(arr) / sizeof(arr[0]);
	//CountSort(arr, n);
	MergeSort(arr, n);

	for (int i = 0; i < n; i++)
	{
		printf("%d ", arr[i]);
	}

	return 0;
}